|
|
|
|
|
|
|
Set Up Shortcuts and Program Groups |
|
|
|
|
|
|
|
|
Another new setup feature in Visual Basic 6 is the Start Menu Items screen, pictured in Figure B.7. The Start Menu Items screen gives you control over the shortcut icons and program groups created by the setup routine. In previous versions of Visual Basic, the wizard simply created a single shortcut to your project's main executable. |
|
|
|
|
|
|
|
|
Figure B.7
Your installation routine can create
multiple shortcuts and program groups. |
|
|
|
|
|
|
|
|
Use the New Group and New Item buttons to add additional program groups and shortcuts to your installation. Each button presents a dialog box for you to enter a description and other information. For example, you might want to create a shortcut to the application release notes or a URL file that takes the users to your Web site. In this case, click the New Item button. Select the target file from the list of included files and enter the title for the new shortcut icon. |
|
|
|
|
|
|
|
|
|
The Properties button performs a different function depending on whether you have a group or item selected. For items, you can edit the file, title, and working directory. For NT program groups, you can determine whether they are created as Common (available from the Start Menu of all user accounts) or Private (available to the current user only).  |
|
|
|
|
|
|
|
|
|
|
Assign Installation Locations |
|
|
|
|
|
|
|
|
After you finish setting up Start menu items for your application, click Next and another customization dialog box, Install Locations, appears. Use this screen, shown in Figure B.8, to view and change the directories in which application files are installed. |
|
|
|
|
|
|
|
|
Some files, such as DLL and OCX files, are traditionally placed in the Windows System directory. Likewise, the application executable file is usually copied to a directory that users choose during installation. Because these directories vary from machine to machine, the Package and Deployment Wizard uses macros to represent them. |
|
|
|
|
|